package com.yunsom.testdemo.design.agent;

/**
 * @author Xbao
 * @version 1.0
 * @description 代理模式
 * @date 2021/3/17 18:48
 */
public class AgentTest {

  public static void main(String[] args) {
    Video video = new ProxyVideo("sdf.avi");

    video.display();
    System.out.println("--");
    video.display();
  }
}
